﻿using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    public class PB_ScheduleDetailDTO : PB_ScheduleDetail
    {
        public String ParentIdName { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public String UserIdName { get; set; }
        /// <summary>
        /// 班别名称
        /// </summary>
        public String TypeName { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? newTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? oldtime { get; set; }
        /// <summary>
        /// 组织id
        /// </summary>
        public String Deptid { get; set; }
        /// <summary>
        /// 上班时间
        /// </summary>
        public DateTime? Shangban { get; set; }
        /// <summary>
        /// 下班时间
        /// </summary>
        public DateTime? Xiaban { get; set; }
        /// <summary>
        /// 车间名称
        /// </summary>
        public String WorkName { get; set; }
        /// <summary>
        /// 车间id
        /// </summary>
        public String Workid { get; set; }

        /// <summary>
        /// 用户编码
        /// </summary>
        public string UserCode { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 任务单名称
        /// </summary>
        public string POName { get; set; }


        /// <summary>
        /// 任务单集合
        /// </summary>

        public List<PB_ProductionOrderlistdtos> ProductionOrdeNameList { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>

        public string DeptId { get; set; }
    }

    public class PB_ProductionOrderlistdtos:PB_ProductionOrder{

        public string DispatchId { get; set; }
    }

}
